|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jme3.scene.Spatial
com.jme3.scene.Node
ga.view.streaming.showroom.ShowRoom
public abstract class ShowRoom
This is a show room that realizes an IPhenotypeSpace. It has 4 walls
and a floor. The walls are transparent when viewed from outside.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.jme3.scene.Spatial |
|---|
com.jme3.scene.Spatial.BatchHint, com.jme3.scene.Spatial.CullHint |
| Field Summary | |
|---|---|
protected com.jme3.material.Material |
ceilingMaterial
|
static com.jme3.math.ColorRGBA |
DEFAULT_COLOR
|
protected com.jme3.material.Material |
floorMaterial
|
private static java.util.logging.Logger |
LOGGER
|
private com.jme3.scene.Spatial |
phenoType
|
protected ShowRoomSettings |
showRoomSettings
|
protected com.jme3.material.Material |
wallMaterial
|
protected com.jme3.material.Material |
whiteMaterial
|
| Fields inherited from class com.jme3.scene.Node |
|---|
children |
| Fields inherited from class com.jme3.scene.Spatial |
|---|
batchHint, controls, cullHint, frustrumIntersects, key, localLights, localTransform, name, parent, queueBucket, queueDistance, refreshFlags, RF_BOUND, RF_LIGHTLIST, RF_TRANSFORM, shadowMode, userData, worldBound, worldLights, worldTransform |
| Constructor Summary | |
|---|---|
ShowRoom(java.lang.String name,
com.jme3.asset.AssetManager assetManager,
com.jme3.system.AppSettings settings,
ShowRoomSettings showRoomSettings)
Instantiates a new show room. |
|
| Method Summary | |
|---|---|
ShowRoomSettings |
getShowRoomSettings()
Gets the show room settings. |
com.jme3.material.Material |
getWallMaterial()
Gets the wall material. |
private void |
initMaterials(com.jme3.asset.AssetManager assetManager,
com.jme3.system.AppSettings settings)
Inits the default materials. |
void |
setPhenotype(com.jme3.scene.Spatial phenotype)
Sets the phenotype to display inside the room. |
| Methods inherited from class com.jme3.scene.Node |
|---|
attachChild, attachChildAt, breadthFirstTraversal, clone, collideWith, deepClone, depthFirstTraversal, descendantMatches, descendantMatches, descendantMatches, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, read, setLightListRefresh, setLodLevel, setMaterial, setModelBound, setTransformRefresh, swapChildren, updateGeometricState, updateLogicalState, updateModelBound, updateWorldBound, write |
| Methods inherited from class com.jme3.scene.Spatial |
|---|
addControl, addLight, breadthFirstTraversal, center, checkCulling, clone, forceRefresh, getBatchHint, getControl, getControl, getCullHint, getKey, getLastFrustumIntersection, getLocalBatchHint, getLocalCullHint, getLocalLightList, getLocalQueueBucket, getLocalRotation, getLocalScale, getLocalShadowMode, getLocalToWorldMatrix, getLocalTransform, getLocalTranslation, getName, getNumControls, getParent, getQueueBucket, getShadowMode, getUserData, getUserDataKeys, getWorldBound, getWorldLightList, getWorldRotation, getWorldScale, getWorldTransform, getWorldTranslation, hasAncestor, localToWorld, lookAt, matches, move, move, removeControl, removeControl, removeFromParent, removeLight, rotate, rotate, rotateUpTo, runControlRender, scale, scale, setBatchHint, setBoundRefresh, setCullHint, setKey, setLastFrustumIntersection, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalScale, setLocalTransform, setLocalTranslation, setLocalTranslation, setName, setParent, setQueueBucket, setShadowMode, setUserData, toString, updateWorldLightList, updateWorldTransforms, worldToLocal |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ga.view.interfaces.IPhenotypeSpace |
|---|
contains, getOutterBounds, minDistanceToWall |
| Field Detail |
|---|
public static final com.jme3.math.ColorRGBA DEFAULT_COLOR
private static final java.util.logging.Logger LOGGER
protected com.jme3.material.Material whiteMaterial
protected com.jme3.material.Material wallMaterial
protected com.jme3.material.Material floorMaterial
protected com.jme3.material.Material ceilingMaterial
protected final ShowRoomSettings showRoomSettings
private com.jme3.scene.Spatial phenoType
| Constructor Detail |
|---|
public ShowRoom(java.lang.String name,
com.jme3.asset.AssetManager assetManager,
com.jme3.system.AppSettings settings,
ShowRoomSettings showRoomSettings)
name - the nameassetManager - the asset managersettings - the settingsshowRoomSettings - the show room settings| Method Detail |
|---|
public com.jme3.material.Material getWallMaterial()
private void initMaterials(com.jme3.asset.AssetManager assetManager,
com.jme3.system.AppSettings settings)
assetManager - the asset managersettings - the app settingspublic void setPhenotype(com.jme3.scene.Spatial phenotype)
phenotype - the new phenotype to display.public ShowRoomSettings getShowRoomSettings()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||